﻿

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.JitAlcCodes.Dtos;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.JitAlcCodes
{
    /// <summary>
    /// Jit生产ALCCode信息服务接口
    /// </summary>
    public interface IJitAlcCodeAppService : IApplicationService
    {
        #region Jit生产ALCCode信息管理
        PagedResultDto<JitAlcCodeListDto> GetPagedJitAlcCodes(GetJitAlcCodeInput input);

        /// <summary>
        /// 根据查询条件获取Jit生产ALCCode信息分页列表
        /// </summary>
        Task<PagedResultDto<JitAlcCodeListDto>> GetPagedJitAlcCodesAsync(GetJitAlcCodeInput input);

        /// <summary>
        /// 通过Id获取Jit生产ALCCode信息信息进行编辑或修改 
        /// </summary>
        Task<GetJitAlcCodeForEditOutput> GetJitAlcCodeForEditAsync(NullableIdDto<int> input);

        /// <summary>
        /// 通过指定id获取Jit生产ALCCode信息ListDto信息
        /// </summary>
        Task<JitAlcCodeListDto> GetJitAlcCodeByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改Jit生产ALCCode信息
        /// </summary>
        Task CreateOrUpdateJitAlcCodeAsync(CreateOrUpdateJitAlcCodeInput input);





        /// <summary>
        /// 新增Jit生产ALCCode信息
        /// </summary>
        Task<JitAlcCodeEditDto> CreateJitAlcCodeAsync(JitAlcCodeEditDto input);

        /// <summary>
        /// 更新Jit生产ALCCode信息
        /// </summary>
        Task UpdateJitAlcCodeAsync(JitAlcCodeEditDto input);

        /// <summary>
        /// 删除Jit生产ALCCode信息
        /// </summary>
        Task DeleteJitAlcCodeAsync(EntityDto<int> input);

        /// <summary>
        /// 批量删除Jit生产ALCCode信息
        /// </summary>
        Task BatchDeleteJitAlcCodeAsync(List<int> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取Jit生产ALCCode信息信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetJitAlcCodeToExcel();

        #endregion





    }
}
